(function () {
    // add + 
    // minus -
    // multiply *
    // divide /
    Number.prototype.add = Number.prototype.add || function (number = 0) {
        var number = this.toNumber(number);
        return (this * 100 + number * 100) / 100;
    }
    Number.prototype.minus = Number.prototype.minus || function (number = 0) {
        var number = this.toNumber(number);
        return (this * 100 - number * 100) / 100;
    }
    Number.prototype.multiply = Number.prototype.multiply || function (number = 0) {
        var number = this.toNumber(number);
        return (this * 100) * (number * 100) / 10000;
    }
    Number.prototype.divide = Number.prototype.divide || function (number = 0) {
        var number = this.toNumber(number);
        return (this * 100) / (number * 100);
    }
    Number.prototype.toNumber = Number.prototype.toNumber || function (value = 0) {
        var result = 0;
        try {
            result = parseFloat(parseFloat(value).toFixed(8));
        } catch (error) {
            result = 0;
        }
        return isNaN(result) ? 0 : result;
    }
    Number.prototype.float = Number.prototype.float || function (count = 0) {
        var result = 0;
        try {
            result = parseFloat(parseFloat(this).toFixed(count));
        } catch (error) {
            result = 0;
        }
        return result;
    }
})();